package plus.easydo.starter.log.model;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author laoyu
 * @version 1.0
 */
public class SystemLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Long requestId;

    /**
     * 请求方式
     */
    private String requestMethod;

    /**
     * 请求路径
     */
    private String requestPath;

    /**
     * IP地址
     */
    private String requestIp;

    /**
     * 请求地址
     */
    private String requestUri;

    /**
     * 设备标识
     */
    private String requestSign;

    /**
     * 请求参数
     */
    private String requestParams;

    /**
     * 模块
     */
    private String moduleName;

    /**
     * 类名
     */
    private String className;

    /**
     * 方法
     */
    private String methodName;

    /**
     * 方法入参
     */
    private String methodParams;

    /**
     * 方法返回值
     */
    private String methodReturn;

    /**
     * 响应状态
     */
    private String responseStatus;

    /**
     * 执行总时间
     */
    private long execTime;

    /**
     * 开始时间
     */
    private Timestamp beginTime;

    /**
     * 请求用户id
     */
    private String optionUserId;

    /**
     * 请求用户名称
     */
    private String optionUserName;

    /**
     * 异常信息
     */
    private String exceptionInfo;

    public Long getRequestId() {
        return requestId;
    }

    public void setRequestId(Long requestId) {
        this.requestId = requestId;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getRequestPath() {
        return requestPath;
    }

    public void setRequestPath(String requestPath) {
        this.requestPath = requestPath;
    }

    public String getRequestIp() {
        return requestIp;
    }

    public void setRequestIp(String requestIp) {
        this.requestIp = requestIp;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri;
    }

    public String getRequestSign() {
        return requestSign;
    }

    public void setRequestSign(String requestSign) {
        this.requestSign = requestSign;
    }

    public String getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodParams() {
        return methodParams;
    }

    public void setMethodParams(String methodParams) {
        this.methodParams = methodParams;
    }

    public String getMethodReturn() {
        return methodReturn;
    }

    public void setMethodReturn(String methodReturn) {
        this.methodReturn = methodReturn;
    }

    public String getResponseStatus() {
        return responseStatus;
    }

    public void setResponseStatus(String responseStatus) {
        this.responseStatus = responseStatus;
    }

    public long getExecTime() {
        return execTime;
    }

    public void setExecTime(long execTime) {
        this.execTime = execTime;
    }

    public Timestamp getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Timestamp beginTime) {
        this.beginTime = beginTime;
    }

    public String getOptionUserId() {
        return optionUserId;
    }

    public void setOptionUserId(String optionUserId) {
        this.optionUserId = optionUserId;
    }

    public String getOptionUserName() {
        return optionUserName;
    }

    public void setOptionUserName(String optionUserName) {
        this.optionUserName = optionUserName;
    }

    public String getExceptionInfo() {
        return exceptionInfo;
    }

    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }
}
